//
//  UIColor+Extension.swift
//  新浪微博
//
//  Created by mac on 15/12/1.
//  Copyright © 2015年 mac. All rights reserved.
//

import UIKit

extension UIColor{
    
 class func randomColor()->UIColor{
    
    let r = CGFloat(random() % 256) / 255.0
    let g = CGFloat(random() % 256) / 255.0
    let b = CGFloat(random() % 256) / 255.0
    
    let randomColor = UIColor(red: r, green: g, blue: b, alpha: 1)
    
    return randomColor
}



}